@font-face {
    font-family: "uiFont";
    src: local("Inter"), local("Helvetica Neue"), local("Helvetica"), local("PingFang SC"), local("Hiragino Sans GB"), local("Microsoft YaHei") local("微软雅黑"), local("Arial"), sans-serif;
    /* from element UI */
}

body {
    margin: 0;
    padding: 0;
    font-family: "uiFont";
}

#root {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-user-select: none;
    user-select: none;
}

.task_type {
    display: block;
    position: relative;
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
    width: calc(100% - 8px);
    background-color: #fdfeff;
    border-color: #ebf5ff;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    -webkit-user-select: none;
    user-select: none;
}

.task_type .task_title {
    margin-top: 8px;
    margin-left: 12px;
    width: calc(100% - 20px);
    height: 20px;
    font-size: 16px;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-overflow: clip;
    display: block;
    position: relative;
}

.task_type .task_info {
    margin-top: 4px;
    margin-left: 12px;
    width: calc(100% - 20px);
    font-size: 14px;
    overflow-wrap: break-all;
    text-overflow: clip;
    color: #555555;
    display: block;
    position: relative;
    word-wrap: break-word;
}

.task_type .task_log {
    display: none;
    margin-top: 8px;
    margin-left: 12px;
    width: calc(100% - 36px);
    max-height: 180px;
    font-size: 14px;
    overflow-wrap: break-all;
    text-overflow: clip;
    color: #fafafa;
    display: block;
    position: relative;
    background-color: #1f1f1f;
    border-radius: 3px;
    padding: 8px;
    overflow: auto;
    -webkit-user-select: text;
    user-select: text;
}

.task_type .task_progress {
    margin-top: 8px;
    margin-left: 12px;
    margin-bottom: 12px;
    width: calc(100% - 20px);
    background-color: #a5cfff;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    display: block;
    position: relative;
}

.task_type .task_progress .task_progress_len {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    border-radius: 3px;
    background-color: #0077ff;
    transition: all 0.1s ease-out;
}

.task_type .task_status {
    position: absolute;
    top: 8px;
    right: 12px;
    height: 20px;
    border-radius: 12px;
    width: 42px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    font-size: 14px;
    border-color: #303030;
    color: #303030;
}

.task_type .task_status_running {
    border-color: #0080ff;
    color: #0080ff;
}

.task_type .task_status_success {
    border-color: #00b90f;
    color: #00b90f;
}

.task_type .task_status_failed {
    border-color: #c90000;
    color: #c90000;
}

.task_type .task_status_stop {
    border-color: #303030;
    color: #303030;
}

.task_type .task_stop {
    position: absolute;
    top: 8px;
    right: 60px;
    height: 20px;
    width: 40px;
    border-radius: 12px;
    text-align: center;
    border-width: 1px;
    border-style: none;
    font-size: 12px;
    cursor: pointer;
    color: #0080ff;
    background-color: #00000000;
    text-decoration-line: underline;
    text-underline-offset: 2px;
}

.task_type .task_stop:hover {
    color: #005bb6;
}

.task_type .task_stop:active {
    color: #003569;
}

.task_type .task_logbtn {
    position: absolute;
    top: 8px;
    right: 100px;
    height: 20px;
    width: 40px;
    border-radius: 12px;
    text-align: center;
    border-width: 1px;
    border-style: none;
    font-size: 12px;
    cursor: pointer;
    color: #0080ff;
    background-color: #00000000;
    text-decoration-line: underline;
    text-underline-offset: 2px;
}

.task_type .task_logbtn:hover {
    color: #005bb6;
}

.task_type .task_logbtn:active {
    color: #003569;
}

.task_action {
    position: relative;
    width: calc(100% - 16px);
    margin-left: 8px;
    display: flex;
    gap: 4px;
}

.task_action .task_action_btn {
    flex: 1;
    height: 28px;
    background-color: #FFFFFF;
    border: solid;
    border-color: #0080ff;
    border-radius: 3px;
    border-width: 1px;
    color: #0080ff;
    transition: all 0.1s ease-out;
}

.task_action .task_action_btn:hover {
    background-color: #0080ff;
    color: #FFFFFF;
}